package com.obrempon.credit.market.ui.adapter

import androidx.recyclerview.widget.RecyclerView
import com.obrempon.credit.market.R
import com.obrempon.credit.market.weight.font.RobotoMediumTextView
import com.obrempon.module.adapter.ObremponRecyclerViewAdapter
import com.obrempon.module.adapter.ObremponViewHolderHelper
import org.json.JSONObject

/**
 * ObremponCredit
 * @Author wwdeng
 * @CreateTime: 2025/3/10 18:43
 * @Annotation：出生年月 - 周
 */
class ObremponBirthdayWeekApt(recyclerView: RecyclerView?) : ObremponRecyclerViewAdapter<JSONObject>(recyclerView, R.layout.obrempon_birthday_dialog_week_item) {
    override fun setItemChildListener(helper: ObremponViewHolderHelper, viewType: Int) {
    }
    override fun fillData(helper: ObremponViewHolderHelper, position: Int, model: JSONObject) {
        val textWeek = helper.getView<RobotoMediumTextView>(R.id.textWeek)
        textWeek.text = model.optString("week")
    }
}